using System;

namespace MetaView.Core;

/// <summary>
/// PackageBase包结构数据。
/// </summary>
[Serializable]
public abstract class PackageBase : IPackage
{
    /// <inheritdoc/>
    public abstract void Package<TByteBlock>(ref TByteBlock byteBlock) where TByteBlock : IByteBlock;

    /// <inheritdoc/>
    public abstract void Unpackage<TByteBlock>(ref TByteBlock byteBlock) where TByteBlock : IByteBlock;
}